<?php
/**
 * @file .php
 * @package 
 * @subpackage 
 * @version $id: 0.1 utf8 2009/ / : : $
 * @author LD King <kldscs@gmail.com>
 * @copyright Copyright (c) 2007 - 2009 MiFunny China Inc. (http://mifunny.info)
 * @desc 测试FROM中删除元素
 * */
//require_once '';


?>
<html>
<head>
<title>测试javascript在form中的表现</title>
<script type="text/javascript">
function checkRE(){

var PLList=document.getElementById("PLList");
PLList.deleteRow(1);

alert (myform.innerHTML);
  return false;  

}

</script>
</head>
<body>

<form name="myform" id="myform" method="post" action="#" onclick="return checkRE();">
<table id="PLList">
    <tr>
        <td>
<input type="text" value="78" />
        </td>
    </tr>
<tr>
        <td>
<input type="text" value="89" />
<input type="submit" value="Submit" />
        </td>
    </tr>


<tr>
        <td>
<input type="text" value="89" />
<input type="submit" value="Submit" />
        </td>
    </tr>

</table>
</form>

<div id="test002">TEST002</div>


</body>
</html>
